const { tool,time,api } = getApp();
Page({

    data: {
        info: {},       // 周报数据
    },

    // 页面加载
    onLoad(options) {
        let { id } = options;
        tool.getReportDetails(id).then(info => {
            info.startTime = time.split(info.startTime);
            info.endTime = time.split(info.endTime);
            this.setData({ info });
        })
    },
    
})